﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserLoginControl.ascx.cs" Inherits="ProjectSemIII.UserControl.UserLoginControl" %>
<img src="/App_Themes/Default/images/lp_boxcorn3.gif" width="260" height="15" alt="" class="flt1 lp_boxtop3" />
<div class="flt1 lp_box2bg">
    <div runat="server" id="notLogin">
        <img src="/App_Themes/Default/images/lp_imgpair.jpg" width="45" height="40" alt="" class="flt1 lp_imgclient" />
        <span class="flt lp_txtclint">Member Login</span> <span class="flt1 lp_box2txt">
            <br />
            <asp:Label runat="server" ID="userNameLb" Text="UserName: "></asp:Label><asp:TextBox runat="server" ID="txtUserName"></asp:TextBox>
            <br />
            <br />
            <asp:Label runat="server" ID="Label1" Text="Password : "></asp:Label>&nbsp;<asp:TextBox runat="server" TextMode="Password" ID="txtPassword"></asp:TextBox>
            <br />
            <br />
            <asp:Button ID="btSubmit" runat="server" Text="Login" Width="98%" OnClick="btSubmit_Click" />
            <span runat="server" id="error" visible="false"></span>
            <br />
            <br />
            <span style="float: right; color: #F3FF9F;">
                <asp:HyperLink runat="server" ID="hlRegister" ForeColor="#f3ff9f" NavigateUrl="~/Register.aspx" Text="_ No Account? Register Now"></asp:HyperLink></span>
        </span>
    </div>
    <div id="logined" runat="server">
        <img src="/App_Themes/Default/images/lp_imgpair.jpg" width="45" height="40" alt="" class="flt1 lp_imgclient" />
        <span class="flt lp_txtclint">User Info</span><br />
        <span style="margin-left: 13px">
            <asp:Label runat="server" ForeColor="White" ID="lbInfo" Text="Wellcome! Minh Mit"></asp:Label></span>
        <span class="flt1 lp_box2txt">
            <br />
            <asp:HyperLink ID="surveyHistory" runat="server" ForeColor="White" Text="- Surveys History"></asp:HyperLink>
            <br />
            <asp:HyperLink ID="changePassword" runat="server" ForeColor="White" Text="- Change Your Password"></asp:HyperLink>
            <br />
            <asp:HyperLink ID="editProfile" runat="server" ForeColor="White" Text="- Edit Your Profile"></asp:HyperLink>
            <br />
            <asp:LinkButton ID="btLogout" runat="server" Text="- Logout" ForeColor="White" OnClick="btLogout_Click"></asp:LinkButton>
        </span>
    </div>
</div>
<img src="/App_Themes/Default/images/lp_boxcorn4.gif" width="260" height="14" alt="" class="flt1" />